package TI;

import java.util.List;

import Exceptions.NoProductsSelectedException;
import Exceptions.ProductSalesPriceNeverSetException;
import Products.Presentation;

public abstract class Customer {
	
	
	
	
	
	// falta desarrollar
		public void buy(List<Presentation> products, BranchOffice branchOffice) throws NoProductsSelectedException, ProductSalesPriceNeverSetException {
			if(products.isEmpty()){
				throw new NoProductsSelectedException();
			} else {
				branchOffice.registerQuickBuy(this, products);
			}
			
		}

		public String getCuit() {
			return "0";
		}


	
	
	
	
	
	
	
	
	

}
